DIR_NAME:=boot
PDIR_SAVE:=PDIR

#current dir path
CPATH:=$(PDIR)/$(DIR_NAME)

#asm obj
SOBJS:=$(patsubst %.s, %.o, $(wildcard $(CPATH)/*.s))
#c obj
COBJS:=$(patsubst %.c, %.o, $(wildcard $(CPATH)/*.c))


OBJS+= $(SOBJS) $(COBJS)

#only c file has .d
DEPS+=$(patsubst %.o, %.d, $(COBJS))
